|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.cayenne.dba.JdbcAdapter
org.apache.cayenne.dba.firebird.FirebirdAdapter
public class FirebirdAdapter
DbAdapter implementation for Firebird RDBMS. Sample connection settings to use with Firebird are shown below:
test-firebird.cayenne.adapter = org.apache.cayenne.dba.firebird.FirebirdAdapter test-firebird.jdbc.username = sysdba test-firebird.jdbc.password = masterkey test-firebird.jdbc.url = jdbc:firebirdsql:[host[/port]/]test-firebird.jdbc.driver = org.firebirdsql.jdbc.FBDriver
| Field Summary |
|---|
| Fields inherited from class org.apache.cayenne.dba.JdbcAdapter |
|---|
extendedTypes, pkGenerator, supportsBatchUpdates, supportsFkConstraints, supportsGeneratedKeys, supportsUniqueConstraints, typesHandler |
| Constructor Summary | |
|---|---|
FirebirdAdapter()
|
|
| Method Summary | |
|---|---|
protected void |
configureExtendedTypes(ExtendedTypeMap map)
Installs appropriate ExtendedTypes as converters for passing values between JDBC and Java layers. |
java.lang.String |
createFkConstraint(DbRelationship rel)
Returns a SQL string that can be used to create a foreign key constraint for the relationship. |
protected PkGenerator |
createPkGenerator()
Creates and returns a primary key generator. |
java.lang.String |
createTable(DbEntity ent)
Returns a SQL string that can be used to create database table corresponding to ent parameter. |
java.lang.String |
dropTable(DbEntity ent)
Returns a SQL string to drop a table corresponding to ent DbEntity. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FirebirdAdapter()
| Method Detail |
|---|
public java.lang.String createTable(DbEntity ent)
JdbcAdapterent parameter.
createTable in interface DbAdaptercreateTable in class JdbcAdapterpublic java.lang.String createFkConstraint(DbRelationship rel)
createFkConstraint in interface DbAdaptercreateFkConstraint in class JdbcAdapterpublic java.lang.String dropTable(DbEntity ent)
JdbcAdapterent DbEntity.
dropTable in interface DbAdapterdropTable in class JdbcAdapterprotected void configureExtendedTypes(ExtendedTypeMap map)
JdbcAdapter
configureExtendedTypes in class JdbcAdapterprotected PkGenerator createPkGenerator()
JdbcAdapter
createPkGenerator in class JdbcAdapterJdbcAdapter.createPkGenerator()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||